package JAVA;

import java.util.Scanner;

public class work3102 {
    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        String[] arr={"apple","egg","hello","work","student","bule","and","bug","red","next"};
        boolean flag=false;
        System.out.println("请输入一个单词");
        String word=input.next();

        for (int i=0;i< arr.length;i++){
            if (word.equals(arr[i])){
                flag=true;
                break;
            }
        }
        if (flag){
            System.out.println("yes");
        }else{
            System.out.println("no");
        }
    }
}
